package com.ruoyi.shop.api.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.oldDomain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商家促销活动商品对象 erp_seller_store_promotion_activity_product
 *
 * @author erp
 * @date 2023-06-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("erp_seller_store_promotion_activity_product")
public class ErpSellerStorePromotionActivityProduct extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 在线商品表id
     */
    private Long storeProductId;
    /**
     * 速卖通商品id
     */
    private Long aeProductId;
    /**
     * 商品sku信息;quantity sku_attrsku属性
     */
    private String skuInventoryList;
    /**
     * 活动商品优惠信息;discount 折扣 terminal 终端 MOBILE or ALL
     */
    private String productDiscountList;
    /**
     * 活动id
     */
    private String promotionId;
    /**
     * 活动表id
     */
    private Long activityId;
    /**
     * 粉丝折扣;粉丝折扣,与exist_store_fans_discount不同值时，才会更新粉丝折扣
     */
    private String storeClubDiscountRate;
    /**
     * 已存在的粉丝折扣;已存在的粉丝折扣 默认为0
     */
    private String existStoreFansDiscount;
    /**
     * 每人限购数量(每人最多购买数量)
     */
    private Long buyMaxNum;

    private Integer status;
    /**
     * 乐观锁
     */
    private String revision;

}
